﻿<%@ Page Language="C#" MasterPageFile="~/admin/Admin.master" AutoEventWireup="true" CodeFile="A_TraLoi.aspx.cs" Inherits="admin_TraLoi" Title="Untitled Page" %>

<%@ Register Assembly="ASPnetPagerV2_8" Namespace="ASPnetControls" TagPrefix="cc1" %>

<asp:Content ID="Content2" ContentPlaceHolderID="contentPlaceHolder" Runat="Server">
<div style="padding:12px 12px 12px 12px;">
<div>
<div class="title">
    Trả Lời
</div>
<div style="width:100%;">
    <div style="display:table-cell; width:100%;float:left;">
        ID:
        <asp:TextBox ID="txt_ID" runat="server" Width="122px"></asp:TextBox>
        Khách Hàng:
        <asp:DropDownList ID="ddl_KhachHang" runat="server">
        </asp:DropDownList>
        <asp:Button ID="btn_Search" runat="server" Text="Tìm kiếm" OnClick="btn_Search_Click"/>
        <div class="addnewrow" style="display:table-cell; width:23%;float:right;">
            <asp:LinkButton ID="lbt_Xoa" runat="server" OnClick="lbt_Xoa_Click">Xóa</asp:LinkButton>      
        </div>   
    </div>      
</div>
<div>
<asp:Repeater ID="Repeater1" runat="server" OnItemDataBound="Repeater1_ItemDataBound" >
    <HeaderTemplate>
        <table cellspacing="1" cellpadding="3" width="100%" bgcolor="#cccccc" border="0">
        <thead>
            <tr class="listtableheader">
                <th>ID</th>
                <th>Khách Hàng</th>
                <th>Nội Dung</th>
                <th>
                    <input id="cb_All" type="checkbox" onclick="CheckAll(1);" />
                    <a href="javascript:CheckAll(2)">Chọn hết</a>
                </th>

            </tr>
        </thead>
        <tbody>
    </HeaderTemplate>
    <ItemTemplate>
      <tr>
        <td><asp:HyperLink ID="ID" runat="server"></asp:HyperLink></td>
        <td><asp:Literal ID="l_khachHang" runat="server" /></td>
        <td><%#Eval("NOIDUNG") %></td>
        <td>
            <asp:CheckBox ID="cb_Xoa" runat="server" />
            <asp:HiddenField ID="hf_id" Value='<%#Eval("ID") %>' runat="server" />
        </td>
      </tr>
    </ItemTemplate>
    <FooterTemplate>
        </tbody>
    </table>   
    </FooterTemplate>
</asp:Repeater>  
</div>
<div style="width:100%;"> 
<div style="float:left;">
  
</div>
    <cc1:PagerV2_8 ID="Pager" runat="server" />
</div>
</div>
</div>
</asp:Content>

